export default {
  pages: [
    'pages/My/index', // 我的页面
    'pages/MySettings/index', // 我的设置
    'pages/MessageList/index', // 消息列表
    'pages/OrderList/index', // 我借入的物品列表和我借出的物品列表
    'pages/OrderList/DisputeList/index', // 纠纷列表
    'pages/OrderList/PubDisputes/index', // 发布纠纷
    'pages/OrderList/AddEvaluate/index', // 添加评价
    'pages/OrderList/SeeEvaluate/index', // 查看评价列表
    'pages/Index/index', //首页
    'pages/ItemSharing/OrderDetail/index', // 编辑共享物品订单和订单详情
    'pages/ItemSharing/ItemLIst/index', // 共享物品列表
    'pages/ItemSharing/ReleaseItems/index', //发布共享物品
    'pages/ItemSharing/ItemDetails/index', // 共享物品详情
    'pages/ItemSharing/Report/index', //举报
    'pages/ChartOnline/index', //聊天
    'pages/Address/index', // 地址管理
    'pages/MutualShare/index', // 互助共享
    'pages/Address/editAndDelete', // 编辑和添加地址
    'pages/Login/index', // 登录
    'pages/Register/index', // 注册
    'pages/RetrievePwd/index', // 找回密码
    'pages/Activity/index', // 活动
    'pages/StreetTown/index' // 街乡吹哨
  ],
  // subpackages: [
  //   {
  //     root: 'packageA',
  //     pages: []
  //   }
  // ],
  permission: {
    'scope.userLocation': {
      desc: '你的位置信息将用于小程序位置接口的效果展示'
    }
  },
  defineConstants: {
    community: JSON.stringify('COYBZ-XJ2KF-YN4JW-NSUH6-627J3-DUBVJ')
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'white',
    navigationBarBackgroundColor: '#c50001'
  },
  tabBar: {
    color: '#999',
    selectedColor: '#c50001',
    backgroundColor: '#fff',
    borderStyle: 'white',
    position: 'bottom',
    list: [
      {
        text: '首页',
        pagePath: 'pages/Index/index',
        iconPath: 'assets/img/bottomtab/icon_home.png',
        selectedIconPath: 'assets/img/bottomtab/icon_home_active.png'
      },
      {
        text: '街乡吹哨',
        pagePath: 'pages/StreetTown/index',
        iconPath: 'assets/img/bottomtab/icon_affairs.png',
        selectedIconPath: 'assets/img/bottomtab/icon_affairs_active.png'
      },
      {
        text: '互助共享',
        pagePath: 'pages/MutualShare/index',
        iconPath: 'assets/img/bottomtab/icon_share.png',
        selectedIconPath: 'assets/img/bottomtab/icon_share_active.png'
      },
      {
        text: '活动',
        pagePath: 'pages/Activity/index',
        iconPath: 'assets/img/bottomtab/icon_activity.png',
        selectedIconPath: 'assets/img/bottomtab/icon_activity_active.png'
      },
      {
        text: '我的',
        pagePath: 'pages/My/index',
        iconPath: 'assets/img/bottomtab/icon_mine.png',
        selectedIconPath: 'assets/img/bottomtab/icon_mine_active.png'
      }
    ]
  }
}
